import { VuePage } from "@/core/vuePage";
import SelectComp from "@/components/select";

class selectVue extends VuePage {
  getPath(): string {
    return "/selectVue";
  }
}

export const selectPage = new selectVue();
selectPage.registerComponent(
  new SelectComp(
    {
      list: [
        {
          value: "New York",
          label: "New York",
        },
        {
          value: "London",
          label: "London",
        },
      ],
      modelVal: "",
      change(val) {
        console.log(val);
      },
    },
    {}
  )
);
